package com.better.common.jwtauth.auth;


import com.better.backend.mqReceiverService.UserInfo.model.UserModel;
import com.better.common.base.ServiceResponse;
import com.better.common.jwtauth.secruity.JwtAuthenticationResponse;
import com.better.common.jwtauth.user.User;

public interface AuthService {
    UserModel register(UserModel userToAdd);
    JwtAuthenticationResponse login(String username, String password);
    String refresh(String oldToken);

    ServiceResponse getSaltByUname(String userName);
   /* String logout(String oldToken);*/
}
